/**
  ******************************************************************************
  * @file	 bsp_CAN.h
  * @author  Hongxi Wong
  * @version V1.0.0
  * @date    2020/2/4
  * @brief   
  ******************************************************************************
  * @attention
  *
  ******************************************************************************
  */
#ifndef _BSP_CAN_H
#define _BSP_CAN_H

#include "includes.h"

#define CAN_RC_DATA_Frame_0 0x131
#define CAN_RC_DATA_Frame_1 0x132

//void CAN_Device_Init(CAN_HandleTypeDef *_hcan);
void CAN_Device_Init(void);

void Send_Gimbal_Control_1(CAN_HandleTypeDef *hcan, int16_t Yaw, int16_t Pitch, int16_t Stir, int8_t ifFricOn);
void Send_Gimbal_Control_2(CAN_HandleTypeDef *_hcan, int16_t Mouse_X, int16_t Mouse_Y, int16_t KeyCode, int16_t MouseLeft, int16_t MouseRight);

#endif
